package edu.ynu.se.xiecheng.achitectureclass.project.dao;

import edu.ynu.se.xiecheng.achitectureclass.common.dao.LogicDAO;
import edu.ynu.se.xiecheng.achitectureclass.project.po.entity.Greenhouse;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface GreenhouseDAO extends LogicDAO<Greenhouse, Long> {

    Optional<Greenhouse> findByBoxId(String boxId);

}
